getDefaultAccount

fun getDefaultAccount(filter: AcctFilter, accountIDKey: String): Account?

Get the default account that was stored with the given account ID key, presuming the given filter applies to it. If there was no such account or the filter is not matched, return the first account that does match the given filter.

Since

Moneydance build 895

Return

Parameters

filter

a filter that the saved account must match

accountIDKey

a string identifying the setting for a stored account